﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_Service_deldept : AdminPageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //stuNum,stuName,stuPas,stuEmail,stuDept=
        string id = Request.Form["id"].Trim();
        
        if (!IsPostBack) {
            string result = "0";
            if (new Exam.Core.DAL.Department().Del(int.Parse(id)))
                result = "1";
            Response.Write(result);
            Response.End();
        }
    }
}